package com.ycb.book.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.ArrayList;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    //微信用户唯一标识
    private String openid;

    //用户微信名称
    private String userName;


    //姓名
    private String name;

    //联系方式
    private String connect;

    //学号
    private String idNumber;

    //头像
    private String head;

    //注册时间
    private LocalDateTime createTime;

    //我的发布
    private ArrayList<Book> mySelling;
}
